<template>
	<view class="content with-tabbar">
		<image class="successImg" src="https://xingangtong.oss-cn-beijing.aliyuncs.com/common/202506261fMyVX.png" />
		<div class="text-center fontS28 mt-10">简历生成成功</div>
		<div class="submitBtn fontS26 mb-20 mt-300" @click="toNext">查看在线简历
		</div>
		<div class="submitBtn fontS26" @click="toHome">回到首页
		</div>
	</view>
</template>

<script>
import { resume, onLineResume } from '@/api/resume'
const api = require("@/api/api.js").api;
export default {
	computed: {
		userInfo() {
			console.log(this.$store.getters.userInfo)
			return this.$store.getters.userInfo || {};
		},
	},
	data() {
		return {
			resumeId: ''
		}
	},
	onLoad(option) {
		this.resumeId = option.resumeId
	},
	methods: {
		toHome() {
			uni.switchTab({
				url: '/pages/home/home'
			})
		},
		async toNext() {
			uni.navigateTo({
				url: `/pages/resume/myResume`,
			});

		},

	}
}
</script>

<style lang="less" scoped>
.content {
	display: flex;
	flex-direction: column;

	padding: 50upx;
	// text-align: center;
	height: 100vh;
	overflow: hidden;

	.successImg {
		width: 192upx;
		height: 192upx;
		margin: 0 auto;
	}

	.mt-300 {
		margin-top: 300upx;
	}

}
</style>